home *** CD-ROM | disk | FTP | other *** search
- global cdvoume
-
- on mouseDown me
- mynumber = me.spriteNum
- case mynumber of
- 13:
- cdvoume = cdvoume + 1
- 14:
- cdvoume = cdvoume - 1
- end case
- if cdvoume > 13 then
- cdvoume = 13
- else
- if cdvoume < 0 then
- cdvoume = 0
- end if
- end if
- set the volume of sound 1 to cdvoume * 19
- repeat with i = 15 to 27
- sprite(i).visible = 1
- end repeat
- repeat with i = 15 + cdvoume to 27
- sprite(i).visible = 0
- end repeat
- end
-
- on mouseEnter me
- cursor([1, 2])
- end
-
- on mouseLeave me
- cursor(0)
- end
-